package com.eazy.lkv2.web.controller.system;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.servlet.ModelAndView;

import com.eazy.lkv2.web.controller.BaseController;
import com.eazy.lkv2.web.service.system.SystemUserService;

/**
 * 系统用户管理
 */
@Controller  
@RequestMapping("/user") 
public class SystemUserController extends BaseController {

	@Autowired
	private SystemUserService systemUserService;
	
	 /**
     * 查询用户列表
     */
    @RequestMapping(value = "list" , method = RequestMethod.GET)  
    public ModelAndView selectUser(Model model) {  
    	model.addAttribute("data", systemUserService.selectUser());
        return new ModelAndView("user/user_list");  
    }  
    
}
